﻿using AspectCore.DynamicProxy;

namespace Vin.Extension.Framework.Adapter;

public interface IVinTransactionAdapter
{
    Task Before(AspectContext context, AspectDelegate next);

    Task After(AspectContext context, AspectDelegate next);
    
    Task Rollback(AspectContext context, AspectDelegate next);
}